<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('刷新账单')" />
    <th:block th:include="include :: select2-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-billProduct-edit">
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">日期：</label>
                <div class="col-sm-8">
                    <input  id="dateInfo" name="dateInfo" class="form-control" type="text" required>
                </div>
            </div>

            <input type="hidden" name="dataType" th:value="PROD" />

<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label is-required">产品账户：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <select name="dataId" class="form-control">-->
<!--                        <option value="">所有</option>-->
<!--                        <option  th:each="item:${itemList}" th:text="${item.n}" th:value="${item.id}"></option>-->
<!--                    </select>-->
<!--                </div>-->
<!--            </div>-->

        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: select2-js" />
    <script th:inline="javascript">
        var prefix = ctx + "account/billProduct";
        $("#form-billProduct-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/refreshBillAction", $('#form-billProduct-edit').serialize());
            }
        }

        layui.use('laydate', function(){
            var laydate = layui.laydate;

            laydate.render({
                elem: '#dateInfo',
                type: 'date',
                value: new Date()
            });

        });

    </script>
</body>
</html>